import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';

class ShopMiddleware extends GetMiddleware {
  @override
  RouteSettings? redirect(String? route) {
    print("--------------");
    print(route);
    return null; // 不做任何操作

    // 没有权限，跳转到登录页面
    // return RouteSettings(name: "/login");
  }
}
